package com.cloudfun.campusshare.common.model.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.cloudfun.campusshare.common.constant.BaseConstant;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Created by Huqin on 2020/3/7
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "金融机构、管理员导出商家设备VO")
public class BorrowerDeviceExportVO {

    private static final int WIDTH = 17;

    private String id;

    @Excel(name = "设备名称", width = WIDTH)
    private String deviceName;

    @Excel(name = "设备类型", width = WIDTH)
    private String productType;

    @Excel(name = "设备地址", width = WIDTH)
    private String address;

    @Excel(name = "上次交互时间", width = WIDTH, exportFormat = BaseConstant.EXPORT_DATE_FORMAT)
    private Date lastInteractionTime;

    @Excel(name = "设备识别码", width = WIDTH)
    private String imei;

    @Excel(name = "SIM卡号", width = WIDTH)
    private String simCard;
}
